package by.grsu.samusev.table;

import java.util.ArrayList;
import com.epam.grsulab.webapi.table.AbstractTable;
import java.util.List;
import by.grsu.samusev.entity.Voyage;

public class VoyageTable extends AbstractTable<Voyage>{
	private List<Voyage> voyages;

	@Override
	public List<Voyage> getRows() {
		if (voyages == null) {
			voyages = new ArrayList<Voyage>();
		}
		return voyages;
	}

	@Override
	public void setRows(List<Voyage> rows) {
		this.voyages=rows;

	}
}
